﻿@{

    var _urls = ViewBag.NavAddress as List<ForumUrl>;
}
<div class="navigation rc white-b">

    <span class="icon-48 home">&nbsp;</span>

    <ul class="nav-bar">
        <li>
            @Html.Link(ForumContext.GetAbsoluteUrl(ForumUrls.DEFAULT), ForumContext.Configuration.ForumName, null)
        </li>
        @if (_urls != null && _urls.Count > 0)
        {
            foreach (var url in _urls)
            {
            
            <li>
                @Html.Raw("<span class=\"nav-arrow\">&nbsp;&#187;&nbsp;</span>")
                @Html.Link(url.Url, url.Title) </li>
            }


        }
    </ul>
</div>
